package day_4.demo1;/*
 *@ 代阳敲的专属代码
 **/

public class Dog  extends Animal {
    public String name="...狗";
    @Override
    public void eat() {
        System.out.println("Dog 吃食物"+name);
    }
    public void bark(){
        System.out.println("Dog 叫");
    }
}
